package com.ruoyi.sys.personnel.controller;


import com.ruoyi.common.core.domain.R;
import com.ruoyi.sys.personnel.service.TbEntranceLogService;
import com.ruoyi.sys.personnel.vo.TbEntranceLogVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "人员管理", tags = "人员管理接口")
@CrossOrigin
@RestController
public class TbEntranceLogController {
    @Autowired
    private TbEntranceLogService tbelService;
    @ApiOperation(value = "门禁设备管理-设备日志接口-查所有")
    @GetMapping("/tbel")
    public R getAll(TbEntranceLogVO vo){
        return tbelService.getAll(vo);
    }

}
